[INFO] fetching crate diesel_migrations 2.0.0-rc.0...
[INFO] checking diesel_migrations-2.0.0-rc.0 against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] extracting crate diesel_migrations 2.0.0-rc.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate diesel_migrations 2.0.0-rc.0 on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate diesel_migrations 2.0.0-rc.0
[INFO] finished tweaking crates.io crate diesel_migrations 2.0.0-rc.0
[INFO] tweaked toml for crates.io crate diesel_migrations 2.0.0-rc.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dotenvy v0.15.1
[INFO] [stderr]   Downloaded diesel v2.0.0-rc.0
[INFO] [stderr]   Downloaded diesel_derives v2.0.0-rc.0
[INFO] [stderr]   Downloaded migrations_internals v2.0.0-rc.0
[INFO] [stderr]   Downloaded migrations_macros v2.0.0-rc.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37f942b39b68b3e0dd4b7e4a2376e0ec0cdc53e588cee0c7f10543c99c9c05e8
[INFO] running `Command { std: "docker" "start" "-a" "37f942b39b68b3e0dd4b7e4a2376e0ec0cdc53e588cee0c7f10543c99c9c05e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37f942b39b68b3e0dd4b7e4a2376e0ec0cdc53e588cee0c7f10543c99c9c05e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37f942b39b68b3e0dd4b7e4a2376e0ec0cdc53e588cee0c7f10543c99c9c05e8", kill_on_drop: false }`
[INFO] [stdout] 37f942b39b68b3e0dd4b7e4a2376e0ec0cdc53e588cee0c7f10543c99c9c05e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30db2f67a4d5df9713e08fbffbf5363d502cdb24006b392d569b26a8a44c1e18
[INFO] running `Command { std: "docker" "start" "-a" "30db2f67a4d5df9713e08fbffbf5363d502cdb24006b392d569b26a8a44c1e18", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking dotenvy v0.15.1
[INFO] [stderr]    Compiling diesel_derives v2.0.0-rc.0
[INFO] [stderr]     Checking diesel v2.0.0-rc.0
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]    Compiling migrations_internals v2.0.0-rc.0
[INFO] [stderr]    Compiling migrations_macros v2.0.0-rc.0
[INFO] [stderr]     Checking diesel_migrations v2.0.0-rc.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/file_based_migrations.rs:357:52
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                                                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 357 -         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout] 357 +         let migrations = migrations_in_directory::<dyn Backend>(&migrations_path)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0191]: the value of the associated types `ArrayComparision` (from trait `SqlDialect`), `BatchInsertSupport` (from trait `SqlDialect`), `BindCollector` (from trait `backend::private::HasBindCollector`), `DefaultValueClauseForInsert` (from trait `SqlDialect`), `EmptyFromClauseSyntax` (from trait `SqlDialect`), `ExistsSyntax` (from trait `SqlDialect`), `InsertWithDefaultKeyword` (from trait `SqlDialect`), `MetadataLookup` (from trait `TypeMetadata`), `OnConflictClause` (from trait `SqlDialect`), `QueryBuilder` (from trait `diesel::backend::Backend`), `RawValue` (from trait `backend::private::HasRawValue`), `ReturningClause` (from trait `SqlDialect`), `TypeMetadata` (from trait `TypeMetadata`) must be specified
[INFO] [stdout]    --> src/file_based_migrations.rs:357:52
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                                                    ^^^^^^^ help: specify the associated types: `Backend<QueryBuilder = Type, ReturningClause = Type, OnConflictClause = Type, InsertWithDefaultKeyword = Type, BatchInsertSupport = Type, DefaultValueClauseForInsert = Type, EmptyFromClauseSyntax = Type, ExistsSyntax = Type, ArrayComparision = Type, RawValue = Type, BindCollector = Type, TypeMetadata = Type, MetadataLookup = Type>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn diesel::backend::Backend` cannot be known at compilation time
[INFO] [stdout]    --> src/file_based_migrations.rs:357:26
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `dyn diesel::backend::Backend`
[INFO] [stdout] note: required by a bound in `file_based_migrations::migrations_in_directory`
[INFO] [stdout]    --> src/file_based_migrations.rs:141:28
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn migrations_in_directory<DB: Backend>(
[INFO] [stdout]     |                            ^^ required by this bound in `file_based_migrations::migrations_in_directory`
[INFO] [stdout] help: consider relaxing the implicit `Sized` restriction
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn migrations_in_directory<DB: Backend + ?Sized>(
[INFO] [stdout]     |                                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]    --> src/file_based_migrations.rs:357:52
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                                                    ^^^^^^^ `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]     |
[INFO] [stdout]     = note: the trait cannot be made into an object because it requires `Self: Sized`
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/backend.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     type QueryBuilder: QueryBuilder<Self>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout] ...
[INFO] [stdout] 450 |         type BindCollector: crate::query_builder::bind_collector::BindCollector<'a, Self> + 'a;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/sql_types/mod.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 |     fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata;
[INFO] [stdout]     |        ^^^^^^^^ the trait cannot be made into an object because associated function `metadata` has no `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]    --> src/file_based_migrations.rs:357:26
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]     |
[INFO] [stdout]     = note: the trait cannot be made into an object because it requires `Self: Sized`
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/backend.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     type QueryBuilder: QueryBuilder<Self>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout] ...
[INFO] [stdout] 450 |         type BindCollector: crate::query_builder::bind_collector::BindCollector<'a, Self> + 'a;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/sql_types/mod.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 |     fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata;
[INFO] [stdout]     |        ^^^^^^^^ the trait cannot be made into an object because associated function `metadata` has no `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]    --> src/file_based_migrations.rs:357:26
[INFO] [stdout]     |
[INFO] [stdout] 357 |           let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 358 | |             .unwrap()
[INFO] [stdout] 359 | |             .collect::<Result<Vec<_>, _>>()
[INFO] [stdout]     | |___________________________________________^ `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]     |
[INFO] [stdout]     = note: the trait cannot be made into an object because it requires `Self: Sized`
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/backend.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     type QueryBuilder: QueryBuilder<Self>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout] ...
[INFO] [stdout] 450 |         type BindCollector: crate::query_builder::bind_collector::BindCollector<'a, Self> + 'a;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/sql_types/mod.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 |     fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata;
[INFO] [stdout]     |        ^^^^^^^^ the trait cannot be made into an object because associated function `metadata` has no `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/file_based_migrations.rs:375:52
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                                                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 375 -         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout] 375 +         let migrations = migrations_in_directory::<dyn Backend>(&migrations_path)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0191]: the value of the associated types `ArrayComparision` (from trait `SqlDialect`), `BatchInsertSupport` (from trait `SqlDialect`), `BindCollector` (from trait `backend::private::HasBindCollector`), `DefaultValueClauseForInsert` (from trait `SqlDialect`), `EmptyFromClauseSyntax` (from trait `SqlDialect`), `ExistsSyntax` (from trait `SqlDialect`), `InsertWithDefaultKeyword` (from trait `SqlDialect`), `MetadataLookup` (from trait `TypeMetadata`), `OnConflictClause` (from trait `SqlDialect`), `QueryBuilder` (from trait `diesel::backend::Backend`), `RawValue` (from trait `backend::private::HasRawValue`), `ReturningClause` (from trait `SqlDialect`), `TypeMetadata` (from trait `TypeMetadata`) must be specified
[INFO] [stdout]    --> src/file_based_migrations.rs:375:52
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                                                    ^^^^^^^ help: specify the associated types: `Backend<QueryBuilder = Type, ReturningClause = Type, OnConflictClause = Type, InsertWithDefaultKeyword = Type, BatchInsertSupport = Type, DefaultValueClauseForInsert = Type, EmptyFromClauseSyntax = Type, ExistsSyntax = Type, ArrayComparision = Type, RawValue = Type, BindCollector = Type, TypeMetadata = Type, MetadataLookup = Type>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn diesel::backend::Backend` cannot be known at compilation time
[INFO] [stdout]    --> src/file_based_migrations.rs:375:26
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `dyn diesel::backend::Backend`
[INFO] [stdout] note: required by a bound in `file_based_migrations::migrations_in_directory`
[INFO] [stdout]    --> src/file_based_migrations.rs:141:28
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn migrations_in_directory<DB: Backend>(
[INFO] [stdout]     |                            ^^ required by this bound in `file_based_migrations::migrations_in_directory`
[INFO] [stdout] help: consider relaxing the implicit `Sized` restriction
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn migrations_in_directory<DB: Backend + ?Sized>(
[INFO] [stdout]     |                                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]    --> src/file_based_migrations.rs:375:52
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                                                    ^^^^^^^ `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]     |
[INFO] [stdout]     = note: the trait cannot be made into an object because it requires `Self: Sized`
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/backend.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     type QueryBuilder: QueryBuilder<Self>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout] ...
[INFO] [stdout] 450 |         type BindCollector: crate::query_builder::bind_collector::BindCollector<'a, Self> + 'a;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/sql_types/mod.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 |     fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata;
[INFO] [stdout]     |        ^^^^^^^^ the trait cannot be made into an object because associated function `metadata` has no `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]    --> src/file_based_migrations.rs:375:26
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]     |
[INFO] [stdout]     = note: the trait cannot be made into an object because it requires `Self: Sized`
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/backend.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     type QueryBuilder: QueryBuilder<Self>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout] ...
[INFO] [stdout] 450 |         type BindCollector: crate::query_builder::bind_collector::BindCollector<'a, Self> + 'a;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/sql_types/mod.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 |     fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata;
[INFO] [stdout]     |        ^^^^^^^^ the trait cannot be made into an object because associated function `metadata` has no `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]    --> src/file_based_migrations.rs:375:26
[INFO] [stdout]     |
[INFO] [stdout] 375 |           let migrations = migrations_in_directory::<Backend>(&migrations_path)
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 376 | |             .unwrap()
[INFO] [stdout] 377 | |             .collect::<Result<Vec<_>, _>>()
[INFO] [stdout]     | |___________________________________________^ `diesel::backend::Backend` cannot be made into an object
[INFO] [stdout]     |
[INFO] [stdout]     = note: the trait cannot be made into an object because it requires `Self: Sized`
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/backend.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     type QueryBuilder: QueryBuilder<Self>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout] ...
[INFO] [stdout] 450 |         type BindCollector: crate::query_builder::bind_collector::BindCollector<'a, Self> + 'a;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-2.0.0-rc.0/src/sql_types/mod.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 |     fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata;
[INFO] [stdout]     |        ^^^^^^^^ the trait cannot be made into an object because associated function `metadata` has no `self` parameter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0191, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `diesel_migrations` due to 11 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "30db2f67a4d5df9713e08fbffbf5363d502cdb24006b392d569b26a8a44c1e18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30db2f67a4d5df9713e08fbffbf5363d502cdb24006b392d569b26a8a44c1e18", kill_on_drop: false }`
[INFO] [stdout] 30db2f67a4d5df9713e08fbffbf5363d502cdb24006b392d569b26a8a44c1e18
